<?php
abstract class SearchBaseModel {
	/**
	 * ActiveRecord类
	 * Enter description here ...
	 * @var object
	 */
	public $model;
	/**
	 * CDbCriteria类
	 * Enter description here ...
	 * @var object
	 */
	public $criteria;
	public function __construct($model, $criteria) {
		$this->model = $model;
		$this->criteria = $criteria;
	}
	
 	abstract public function getCriteria();
}

?>